package com.qf.school.service;

import com.github.pagehelper.PageInfo;
import com.qf.school.entity.Student;

public interface StudentService {

    //添加学生信息
    void insert(Student student);

    //根据id修改学生信息
    void updateById(Student student);

    //根据id删除学生信息
    void deleteById(Long id);

    //分页查询所有学生信息
    PageInfo<Student> findAllByPage(Integer page, Integer rows);

}
